FROM openjdk:17-jdk-alpine
ENV PORT=9351
EXPOSE ${PORT}
RUN mkdir /data/work
WORKDIR /data/work
COPY ./generator-web/target/generator-web-3.0.jar ./app.jar
ENTRYPOINT ["java", "-jar", "./app.jar", "--server.port=${PORT}"]
